package com.transaction.demo.base.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 描述：用户信息表
 * 作者：马庆智
 * 日期：2023/03/28 17:07:15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户登录vo")
public class UserLoginReqVo implements Serializable {

	@ApiModelProperty(value = "用户姓名", required = true)
	@NotBlank(message = "userName用户名不能为空")
	private String userName;

	@ApiModelProperty(value = "密码", required = true)
	@NotBlank(message = "password密码不能为空不能为空")
	private String password;

}